db.getSiblingDB('test')
db.createUser({user: "tjhk",pwd: "tjhk",roles: [{ role: 'readWrite', db: 'test'}]})
db.test.insert({"name":"xiaoming","age":10})
mongo -utjhk -ptjhk --authenticationDatabase test